package com.abc.fast.common.domain.enums;

import com.abc.fast.common.constant.HttpStatus;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum CommonErrorEnum {

    BUSINESS_ERROR(HttpStatus.ERROR, "{0}"),
    PARAM_INVALID(HttpStatus.ERROR, "参数校验失败"),
    SYSTEM_ERROR(HttpStatus.ERROR, "系统出小差了，请稍候再试！"),
    LOCK_LIMIT(HttpStatus.ERROR, "请求太频繁了，请稍候再试"),
    RETRY_COUNT(HttpStatus.ERROR, "重试次数过多，请稍后再试");


    private Integer code;

    private String desc;


}
